#!/usr/bin/env bash

# Install in the user's $HOME directory and back-up existing files.

[[ -f "$HOME/.xinitrc" ]] && mv "$HOME/.xinitrc" "$HOME/.xinitrc.bak"
ln -s "`pwd`/xinitrc" "$HOME/.xinitrc"

[[ -f "$HOME/.xserverrc" ]] && mv "$HOME/.xserverrc" "$HOME/.xserverrc.bak"
ln -s "`pwd`/xserverrc" "$HOME/.xserverrc"
